package com.hjy.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjy.common.utils.PageUtils;
import com.hjy.common.utils.R;
import com.hjy.member.entity.MemberEntity;
import com.hjy.member.exceptiion.MyException;
import com.hjy.member.vo.LoginVo;
import com.hjy.member.vo.RegisterVo;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * 会员
 *
 * @author hjy
 * @email 2402668109@qq.com
 * @date 2022-07-16 12:06:21
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(RegisterVo registerVo) throws MyException;

    R login(LoginVo loginVo, HttpSession session);

    MemberEntity oauthLogin(Map<String, String> map);
}

